package com.hcb.micro.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.UnionConsumeMapper;
import com.hcb.micro.dto.UnionConsume;
import com.hcb.micro.service.IUnionConsumeService;

@Service("UnionConsumeService")
public class UnionConsumeServiceImpl implements IUnionConsumeService{

	@Autowired
	UnionConsumeMapper unionConsumeMapper;
	@Override
	public List<UnionConsume> selectByPara(Map<String, Object> para) {
		
		return unionConsumeMapper.selectByPara(para);
	}

	@Override
	public UnionConsume selectByUnionId(Integer id) {
		
		return unionConsumeMapper.selectByUnionId(id);
	}

	@Override
	public UnionConsume selectByPrimaryKey(Integer id) {
		
		return unionConsumeMapper.selectByPrimaryKey(id);
	}

	@Override
	public Integer updateByPrimaryKeySelective(UnionConsume record) {
		
		return unionConsumeMapper.updateByPrimaryKeySelective(record);
	}

}
